package org.xxx.epms.feedback.feign.handler;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.xxx.epms.feedback.dto.MonitorDto;
import org.xxx.epms.feedback.feign.MonitorFeign;

@Component
@Slf4j
public class MonitorFeignHandler implements MonitorFeign {
    @Override
    public String getMonitorInfo(String userId) {
        String fallback = "MonitorFeignHandler fallback";
        return fallback;
    }

    @Override
    public MonitorDto getMonitorInfoByTel(String monTel) {
        log.info("MonitorFeignHandler getMonitorInfoByTel");
        return null;
    }

    @Override
    public MonitorDto getMonitorByMonId(String monId) {
        log.info("MonitorFeignHandler getMonitorByMonId");
        return null;
    }
}
